package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialSupplementalAttachmentRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialSupplementalAttachmentPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialSupplementalAttachmentDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialSupplementalAttachmentDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialSupplementalAttachmentDomainImpl extends BaseDomainImpl<ContractInitialSupplementalAttachmentDto, ContractInitialSupplementalAttachmentPo> implements ContractInitialSupplementalAttachmentDomain {

    @Resource
    private ContractInitialSupplementalAttachmentRepository contractInitialSupplementalAttachmentRepository;

    @Override
    public BaseRepository<ContractInitialSupplementalAttachmentPo> getMapper() {
        return contractInitialSupplementalAttachmentRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialSupplementalAttachmentPo>> getRepositoryClass() {
        return ContractInitialSupplementalAttachmentRepository.class;
    }

}
